from django.contrib import admin
from winlog.log_dj.models import Winlog

class WinlogAdmin(admin.ModelAdmin):
    list_display = ('categorystring','date','time','sourcename','type','eventcode','users','computername','message')
    list_filter = ('sourcename','type','eventcode','users','computername')
    search_fields = ('message','type')


admin.site.register(Winlog, WinlogAdmin)

